--TEST--
Check Collection operations
--SKIPIF--
<?php if (!extension_loaded("collection")) print "skip"; ?>
--FILE--
<?php 
$collection = \Vtiful\Kernel\Collection::init([
    1, 2, 3, 4, 5
]);

$result = $collection->chunk(4);

var_dump($result);
?>
--EXPECT--
object(Vtiful\Kernel\Collection)#2 (2) {
  [0]=>
  array(4) {
    [0]=>
    int(1)
    [1]=>
    int(2)
    [2]=>
    int(3)
    [3]=>
    int(4)
  }
  [1]=>
  array(1) {
    [0]=>
    int(5)
  }
}
